package com.wxp.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

import com.wxp.entity.Resource;

public interface ResourceService {
	
     public void save(Resource resource);
     
     Resource find(String operator);
     List<Resource> findAll();
     Page<Resource> findAll(Specification spec, PageRequest pageRequest);
     
   
    
     List<Resource> findAll(String roleCode);
    
}
